// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";

/**
 * 维修项目列表
 * @param object data
 */
export function repair_list(data) {
	return request.get(`repair_item_list`,data);
}

/**
 * 维修门店列表
 * @param object data
 */
export function store_rec_list(data) {
	return request.get(`repair_store_list`,data);
}

/**
 * 查价
 * @param int id
 *
 */
export function query_price(data) {
	return request.post('query_price', data, {
		noAuth: true
	});
}

/**
 * 维修门店详情
 * @param int id
 *
 */
export function store_detail(id) {
	return request.get('repair_store_detail/' + id, {}, {
		noAuth: true
	});
}